﻿using AutoMapper;
using B.S.BasicData.Domain;
using B.S.BasicData.Read.Apilication.Common.Province;
using B.S.BasicData.Read.DTOS;

namespace B.S.BasicData.Read
{
    public class Myautomapper:Profile
    {
        public Myautomapper()
        {
            CreateMap<ProvinceDTO, ProvinceModel>().ReverseMap();
            CreateMap<SetuserDTO, UserModel>().ReverseMap();
            CreateMap<TreeMenuDTO, menuModel>().ReverseMap();
            CreateMap<RoleDTO, RoleModel>().ReverseMap();
            CreateMap<SetMenuDTO, menuModel>().ReverseMap();
            CreateMap<UserDTO, UserModel>().ReverseMap();
        }
    }
}
